#include "threadpool.h"

int epoll_add(int epfd,int listenFd){
    struct epoll_event event;
    event.data.fd = listenFd;
    event.events = EPOLLIN;
    epoll_ctl(epfd,EPOLL_CTL_ADD,listenFd,&event);
    return 0;
}

int epoll_del(int epfd, int listenFd){
    epoll_ctl(epfd,EPOLL_CTL_DEL,listenFd,NULL);
    return 0;
}

    

